<template>
  <div class="com-circle-label">
    <!-- <div class="label">
      <div>{{ label[0] }}</div>
      <div>{{ label[1] }}</div>
    </div> -->
    <div class="score" :style="{color: color}">{{ score }}</div>
  </div>
</template>

<script>
export default {
  props: {
    label: {
      type: Array,
      default: null
    },
    score: {
      type: [String, Number],
      required: true
    },
    color: {
      type: String,
      default: "#2AAEF2"
    }
  }
};
</script>

<style lang="scss" scoped>
.com-circle-label {
  position: relative;
}
.label {
  position: absolute;
  left: 0;
  top: 0;
  div:nth-child(1) {
    font-size: 24px;
    margin-bottom: 30px;
  }
  div:nth-child(2) {
    font-size: 30px;
  }
}
.score {
  width: 100px;
  height: 100px;
  border-radius: 60px;
  border: 10px solid;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
}
</style>
